package com.qf.dao;

import com.qf.pojo.User;

import java.util.List;

public interface UserDao {
    //查询所有用户
    List<User> selectUserList() throws Exception;

    //根据id查询用户信息
    User selectUserById(Integer id) throws Exception;

    //模糊查询1
    List<User> selectUserListLikeName(String username) throws Exception;
    //模糊查询2
    List<User> selectUserListLikeName2(String username) throws Exception;
    //模糊查询3
    List<User> selectUserListLikeName3(String username) throws Exception;
    //模糊查询4
    List<User> selectUserListLikeName4(String username) throws Exception;
}
